home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / comunic / zcdc1805.zip / ZCOMMDOC.AE < prev    next >
Text File  |  1993-05-30  |  77KB  |  1,771 lines

  1.  
  2.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  3.       ZCOMM User Manual                                                  121
  4.  
  5.         N.B.: Do not give the history command before you have entered any
  6.         secret passwords from the keyboard as these will be saved in the
  7.         history file.  The history command without an argument closes the
  8.         history file and disables command recall.  Alternatively, the T
  9.         numeric parameter may be set to a large value to inhibit storing of
  10.         passwords in histfile.
  11.  
  12.         Normally, histfile should be an absolute pathname to insure that the
  13.         same file will be used regardless of the directory from which ZCOMM
  14.         is called from.
  15.  
  16.         The history command is not available when Restricted.
  17.         N.B.: Do not attempt to delete an open file on DOS, especially the
  18.         history file.
  19.  
  20.       host The host command conditions ZCOMM to accept incoming calls
  21.         unattended.  Host operation is described in Chapter 28.  The EXIT
  22.         key F1 terminates Host Operation.
  23.         N.B.: The host command is normally given only by a script that sets
  24.         parameters to their appropriate values.  Use the "host" entry in the
  25.         distributed PHODIR.t file as a prototype for your application.
  26.  
  27.         SEE ALSO: remote command
  28.  
  29.       if condition command ... The if command provides powerful condition
  30.         testing for scripts.  If executes the command(s) on the rest of the
  31.         line if condition is true.  Otherwise, execution continues
  32.         immediately with the next script line.  Chapter 27 describes the
  33.         testable conditions.
  34.  
  35.         SEE ALSO: else, on commands
  36.  
  37.       ife condition cmd1 ...; cmd2 ... Execute cmd1 ...  if condition is
  38.         true; otherwise skip to the first semicolon in the rest of the line
  39.         and resume execution (unconditionally) with cmd2.  Iff a semicolon
  40.         is not present, execution resumes at the end of the line, useful
  41.         within the body of a while command.
  42.  
  43.         EXAMPLE: set f5
  44.         @ife %s1 echo "s1 =%s1";  else echo "s1 not set"
  45.  
  46.         (Without the "else", the right half will always execute.)
  47.  
  48.  
  49.       kbdlock N * Controls acceptance of keyboarded characters by the term
  50.         function and during protocol file transfers.  If N is non zero, the
  51.         term function does not act upon key strokes.  If N is greater than
  52.         1, key strokes have no effect on protocol transfers.  The Ctrl-Break
  53.         key and the command prompt reset kbdlock to 0.  If N is 257, the
  54.         Ctrl-Break key does not reset Kbdlock.  Kbdlock does not affect the
  55.         k test condition or the accept command.  Characters typed while
  56.  
  57.  
  58.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  59.  
  60.  
  61.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  62.       ZCOMM User Manual                                                  122
  63.  
  64.         kbdlock is on will become available at the next command prompt,
  65.         accept command, or when kbdlock is reset unless typeahead is purged
  66.         with the purgek command.
  67.  
  68.         SEE ALSO: purgek command, Ctrl-Break key
  69.  
  70.       kbdmon [file] captures keystrokes to file.  If file exists, it is
  71.         appended to.  Function keys are denoted by an 0xFF character
  72.         followed by the code returned by the BIOS.  The kbdmon command
  73.         without an argument closes the file.  This command is not available
  74.         when Restricted.
  75.  
  76.       kermit By itself, selects Kermit or Kermit related parameters for use
  77.         by the !!, p, rb, and sb commands.
  78.  
  79.       Kermit rb [-options] Kermit rb receives files using the Kermit file
  80.         transfer protocol.  Chapter 20 describes the available options.
  81.         File names are given by the sending program.  The Kermit programs
  82.         must have compatible parity settings as described in Chapter 13,
  83.         Kermit Protocol.
  84.  
  85.         Kermit rb receives files from a regular Kermit program; use the get
  86.         command to receive files from a Kermit server.
  87.  
  88.         EXAMPLE: kermit pi1;  kermit rb Downloads files from an IBM
  89.         mainframe.
  90.  
  91.  
  92.         ZCOMM's term function will sense the remote Kermit's parity setting
  93.         and download files without user intervention When the remote Kermit
  94.         starts sending, if K (Kermit autodownload) term option is enabled
  95.         (the default).
  96.  
  97.       Kermit sb [-options] pathspec Kermit sb sends the specified files to
  98.         either a regular Kermit program or a Kermit server.  Chapter 20
  99.         describes the available options.  The Kermit programs must have
  100.         compatible parity settings as described in Chapter 13, Kermit
  101.         Protocol.
  102.  
  103.         EXAMPLE: kermit pi1;  kermit sb file ...  Sends the specified files
  104.         to an IBM mainframe.
  105.  
  106.  
  107.       keys, ALT-K Keys displays the definitions the user has assigned to the
  108.         function keys.
  109.  
  110.       ki Clears the y0...y127 string parameters and causes circular buffer
  111.         writing operations to ignore data from the remote which has already
  112.         been displayed.  This data is still available to the review
  113.         function.
  114.  
  115.  
  116.  
  117.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  118.  
  119.  
  120.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  121.       ZCOMM User Manual                                                  123
  122.  
  123.         EXAMPLE: The script fragment
  124.  
  125.             pat 1c "///BEGIN///"   "@ki create -+ print.fil"
  126.             pat 2c "///END///"   "@close"
  127.             wait -f30000
  128.  
  129.         will capture the data that arrives between "///BEGIN///" and the end
  130.         of the string "///END///".  Other data from the remote will not be
  131.         captured to disk.  The long pattern match fail time (30000 seconds)
  132.         makes the the cycle repeat almost indefinitely.
  133.  
  134.  
  135.         SEE ALSO: W term option
  136.  
  137.       kill Erases (flushes) all data stored in the circular buffer and
  138.         restores the buffer pointers to their initial positions.
  139.  
  140.       kill [-signum] procnum Available on Unix and OS/2 flavors, this form
  141.         of the kill command supports interprocess communications.  If signum
  142.         is absent, the kill command checks for the existence of the
  143.         specified process, but does not send it a signal.  Success sets the
  144.         ?  numeric parameter to 0, otherwise -1.
  145.  
  146.         SEE ALSO: createx command, Unix kill(1)
  147.  
  148.       l, ll, ls, lx For Unix users, synonyms for the dir commands.
  149.  
  150.       learn lfile TurboLearn(TM) Script Writer records timing information
  151.         and term function keystrokes to lfile.  The TurboLearn program
  152.         tlearn.exe then generates a script using this data.  Normally,
  153.         learning is initiated after the connection has been established, but
  154.         before the first prompt is received from the remote.  This is best
  155.         accomplished with the F4 key, which activates the tlearn telephone
  156.         directory entry.
  157.  
  158.         Function keys, cursor keys, reassigned keys, and scripts[12] should
  159.         not be used while learning.
  160.  
  161.         When accepting passwords and other sensitive information, systems
  162.         sometimes acknowledge each keyboard character with #, *, x, or X,
  163.         instead of the keyboarded character itself.  When this happens, do
  164.         not type characters faster than the remote responds to them.
  165.  
  166.         The resulting script should be examined for evidence of keyboarding
  167.         mistakes, line noise, and dependence on prompts that change each
  168.  
  169.  
  170.       __________
  171.  
  172.       12. Other than the dialing script
  173.  
  174.  
  175.  
  176.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  177.  
  178.  
  179.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  180.       ZCOMM User Manual                                                  124
  181.  
  182.         time you access the system.
  183.  
  184.         The comments below apply when the tlearn script is not used.
  185.  
  186.         EXAMPLE: kill
  187.              123-4567; learn lfile
  188.  
  189.         From the ZCOMM main command prompt, enter the desired phone number.
  190.         When ZCOMM connects, the learn command enters the term function with
  191.         learning (recording) turned on.
  192.  
  193.              <keyboard the operations you wish recorded>
  194.  
  195.         Login to the bulletin board as usual.  If you make keyboarding
  196.         mistakes, you can edit the script file later.
  197.  
  198.              ALT-C F1
  199.  
  200.         Terminate learning with ALT-C, and return to the main command prompt
  201.         with the F1 key.
  202.  
  203.              !tlearn lfile >newscript
  204.  
  205.         From the main command prompt, execute the TurboLearn program tlearn
  206.         with a DOS Gateway.
  207.  
  208.  
  209.         After recording, the tlearn program reads lfile and generates a
  210.         series of pattern and put script commands to let ZCOMM search for
  211.         the prompts and respond with the proper keystrokes.  The resulting
  212.         script file newscript may be accessed with the source command.
  213.  
  214.         Alternatively, the last command above may be replaced with
  215.  
  216.              !tlearn -d newdirname lfile >>phones.t
  217.  
  218.         to add the new script to the end of your telephone directory.
  219.  
  220.         The -d dirname causes tlearn to prepend the given new directory
  221.         entry name newdirname and the telephone number to the resulting
  222.         script commands.  The redirection characters >> add the script
  223.         commands to the end of your telephone directory.
  224.  
  225.         You can also use the -d newdirname option to tlearn to prepare a new
  226.         directory entry in a separate file.  Then you can edit this file and
  227.         add it somewhere within your telephone directory.
  228.  
  229.         The tlearn program also accepts a -r option to suppress a "return"
  230.         command normally emitted at the end of the generated script.  This
  231.         tlearn option allows one to append an "off" command to the generated
  232.         script.
  233.  
  234.  
  235.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  236.  
  237.  
  238.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  239.       ZCOMM User Manual                                                  125
  240.  
  241.       link * Link two serial ports.  The link command allows remote access
  242.         to a computer or other device connected to another port.  For
  243.         example, if port 1 is connected to an autoanswer modem and port 2 is
  244.         connected to a local timesharing machine, the link command could
  245.         allow dial-up callers access to the timesharing machine.  Chapter
  246.         19.5 describes the link command for DOS flavors.
  247.  
  248.  
  249.       link [c] On Unix flavors, the link command links the controlling
  250.         terminal with the serial line.  The optional c is the keyboarded
  251.         character that exits the link command (default 5 == Ctrl-E).  An
  252.         argument of -1 may be used to prevent a match.
  253.  
  254.         The link command always connects the keyboard/crt with the current
  255.         serial port; it is in essence a transparent term function.  The Unix
  256.         link command exits when carrier is lost on either port, or when the
  257.         keyboarded character matches c.
  258.  
  259.       list pathspec The list command uses standard DOS character output
  260.         routines and any installed CRT device driver instead of ZCOMM's own
  261.         CRT driver.  The printer can be enabled with ^P given to DOS (not
  262.         ZCOMM).  List the specified file(s).
  263.  
  264.         This command closes any open transmit file.  List pauses/resumes
  265.         printing with ^S.  Keyboarding ^C cancels, and ^X skips to the next
  266.         file (it might take a few whacks of the keyboard to get ZCOMM to
  267.         hear it.) The list command defaults to a type command when ZCOMM is
  268.         in host operation.
  269.  
  270.         EXAMPLE: list *.cq
  271.  
  272.  
  273.         SEE ALSO: browse, type, page commands
  274.  
  275.       lput string Displays string on the console display.  String is
  276.         processed for character escapes.  Lput is useful for scripts sending
  277.         cursor control codes to the screen.  Control characters and escape
  278.         sequences used with the lput command are always decoded with ZCOMM's
  279.         default extended VT52/Z19 emulation, which also recognizes ANSI "ESC
  280.         [" sequences, regardless of which display emulation is selected.
  281.         Unlike the echo command, lput does not display in reverse video and
  282.         does not add a carriage return/linefeed to its argument.
  283.  
  284.         SEE ALSO: echo command
  285.  
  286.       lputp string Outputs string to the line printer.  String is processed
  287.         for character escapes.  Strings with embedded nulls (represented
  288.         with the \000 character escape) may be used.  The lput command
  289.         should not be used if the printer is jammed, out of paper, or off
  290.         line.  These conditions may be tested with the l test condition.
  291.         This command is not allowed when ZCOMM is Restricted.
  292.  
  293.  
  294.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  295.  
  296.  
  297.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  298.       ZCOMM User Manual                                                  126
  299.  
  300.         EXAMPLE: if l lputp "\E\017" If the printer is ready, ZCOMM sends
  301.         ESC SI to select compressed printing on an IBM 80 CPS printer.
  302.  
  303.  
  304.         SEE ALSO: l numeric parameter, l test condition, \dNNN (decimal)
  305.         character escapes
  306.  
  307.       menu Execute script commands from the file name stored in the string
  308.         parameter menu.
  309.  
  310.       message The message command allows a caller to keyboard a message
  311.         which will be appended to a file specified by the string parameter
  312.         messages.  Typically, messages would point to a publicly visible
  313.         file to allow other callers to read messages.  The message command
  314.         is otherwise identical to the private command.
  315.  
  316.         SEE ALSO: private command
  317.  
  318.       mk [scancode shiftstate class string] Assign term function keyboard
  319.         mapping.  Without an argument, mk resets and disables keyboard
  320.         mapping.  The mk command is described in Chapter 29.
  321.  
  322.         SEE ALSO: K and N numeric parameters, _ command
  323.  
  324.       more pathspec See page command.
  325.  
  326.       mput string The mput command transmits string to the remote at full
  327.         speed.  String is processed for character escapes.  Unlike the put
  328.         and putw commands, mput does not display characters coming from the
  329.         remote (they are held in the interrupt buffer).  Control and other
  330.         special characters may be entered with character escapes.  If a
  331.         carriage return should be sent, it must be explicitly coded with \r
  332.         at the end of the string.
  333.  
  334.         SEE ALSO: put, putw commands
  335.  
  336.       nolog * Suppress generation of the next log entry (of any kind).
  337.  
  338.         EXAMPLE: mysys     nolog speed 1200 123-4567 t
  339.         Suppresses the log entry that would otherwise be made if the calllog
  340.         string parameter is set.
  341.  
  342.  
  343.       nulls n When accessing ZCOMM in host operation, nulls sets the number
  344.         of nulls (default 0) sent after each linefeed to allow slow
  345.         terminals time to scroll.
  346.  
  347.         EXAMPLE: nulls 4
  348.  
  349.  
  350.  
  351.  
  352.  
  353.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  354.  
  355.  
  356.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  357.       ZCOMM User Manual                                                  127
  358.  
  359.       o Terminates a data call by dropping DTR (Data Terminal Ready).  DOS
  360.         ZCOMM drops Clear To Send (CTS) as well as DTR if hardware flow
  361.         control was selected with the handshake command.  A bye or speed n
  362.         command must be given to reassert DTR before making or answering
  363.         another data call.[13] The o command does not release ownership of
  364.         the serial port.
  365.  
  366.         SEE ALSO: speed, bye, off, port commands
  367.  
  368.       obey string Sometimes one wishes to execute the contents of a string
  369.         parameter as a ZCOMM command.  Other times one needs to reference a
  370.         pathname stored in a string parameter in the context of a command
  371.         that does not itself perform string substitution on its argument(s).
  372.  
  373.         Obey executes string as a ZCOMM command.  Character escapes in
  374.         string are substituted before execution.
  375.  
  376.         EXAMPLE: obey ">>%s0" Redirects the output of utility commands to
  377.         the pathname stored in string parameter s0.
  378.  
  379.  
  380.         EXAMPLE: pat 19c "OBEY-LAST" "@obey %y2" Sets pattern 19 to execute
  381.         the previous line received from the remote when the string "OBEY-
  382.         LAST" is received.
  383.  
  384.         N.B.: The remainder of the line after the obey command will be
  385.         executed unless execution of string is terminated by a return or
  386.         fail command.  The construction obey "if xxx goto foo" May be used
  387.         only if no commands follow the obey command's string argument.
  388.         N.B.: Backslashes in file names used with the obey command must be
  389.         escaped.
  390.         N.B.: When the obey command is used to substitute file names, file
  391.         names containing separator or operator characters such as & may
  392.         change the syntax of the resulting command.  For instance, the
  393.         pathological but legal DOS filename foo&&999.bar would cause obey if
  394.         f%thisfile gosub dofile to expand to if ffoo&&999.bar gosub dofile
  395.         to parse as a test for a match to an illegal pattern 999.
  396.  
  397.       off Disable the modem by dropping DTR (Data Terminal Ready), [14]
  398.         release ownership of the serial port, and exit to the operating
  399.         system.  DOS ZCOMM drops Clear To Send (CTS) as well as DTR if
  400.         hardware flow control was selected with the handshake command.
  401.  
  402.  
  403.  
  404.       __________
  405.  
  406.       13. Most telephone directory entries include a speed command.
  407.  
  408.       14. The modem must be configured to use Data Terminal Ready (DTR).
  409.  
  410.  
  411.  
  412.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  413.  
  414.  
  415.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  416.       ZCOMM User Manual                                                  128
  417.  
  418.         Exit status is the value of the ?  numeric parameter.
  419.  
  420.         The next program must select the port and initialize it to reassert
  421.         DTR before making or answering another data call.
  422.  
  423.         SEE ALSO: bye, x, o, port commands
  424.  
  425.       on [condition rest-of-line] * Executes rest-of-line if condition is
  426.         true.  Condition is tested after each command line executes, unless
  427.         a return or fail command is executed, or when pattern is the last
  428.         command on the line.  An on command without predicate (on a line by
  429.         itself) cancels the on command active at that script level.
  430.  
  431.         EXAMPLE: on
  432.  
  433.         The term function may be accessed with the wait command and no
  434.         patterns active to force an exit on loss of carrier detect or
  435.         pattern search timeout.  Otherwise, ZCOMM could remain in term
  436.         function until a command is keyboarded.  Typical commands to use
  437.         with the on statement are goto, return, off, and abort.  Chapter 27
  438.         describes the testable conditions.
  439.  
  440.         One active on statement is available for each level of script.  The
  441.         on statement does not propagate to different script levels.
  442.  
  443.         When rest-of-line is executed, the on statement at that level is
  444.         canceled.  An on command cancels any previous on command at that
  445.         script level.
  446.  
  447.         EXAMPLE: on !c goto fooend Branches to fooend if the carrier drops
  448.         out.
  449.  
  450.         SEE ALSO: wait, if commands
  451.         N.B.: No other commands may be on the line after the on command
  452.         except for its predicate.
  453.  
  454.       open [-term_modes] file Opens file for transmission with the term
  455.         function with options.  The open command should be used when you
  456.         don't want to enter the term function immediately, or are already in
  457.         it.  In other situations, it may be necessary to open the file
  458.         before dialing to allow transmission immediately after connection,
  459.         without the delay of opening the file from a floppy disk.
  460.  
  461.         SEE ALSO: seek, read, close commands
  462.  
  463.       page pathspec Type the file(s) specified in pathspec a screenfull at a
  464.         time.  When the screen is filled up, the More?  prompt appears.
  465.         Typing space displays another screenfull.  Typing ^X skips to the
  466.         next file.  Typing ^K or ^C terminates the command.  This command
  467.         closes any open transmit file.
  468.  
  469.  
  470.  
  471.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  472.  
  473.  
  474.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  475.       ZCOMM User Manual                                                  129
  476.  
  477.         EXAMPLE: page *.doc
  478.  
  479.  
  480.         SEE ALSO: browse, type, list, findmore commands
  481.  
  482.       PATtern [n[cilpv$] string [action]] (n = 0...24) The pattern command
  483.         allows ZCOMM to search for up to 25 different responses from a
  484.         remote computer, and take action based on which of those responses
  485.         (or none) was "seen".  A pattern match can execute specified script
  486.         command(s) "on the fly" (c modifier) or return control to the
  487.         calling script with an indication of which pattern was matched.
  488.  
  489.         The pattern command causes the next t, f, or wait command (term
  490.         function) to search for string in the data received from the
  491.         remote/modem.  String must be entered exactly as it will be received
  492.         from the modem, in the same case and with the same embedded spaces
  493.         or tabs.  Control characters must be represented with ZCOMM
  494.         character escapes.  The metacharacter \256 matches any single
  495.         character.  ZCOMM %string substitutions may be used to define search
  496.         patterns.  If the % character is to be searched for, it must be
  497.         represented as \045.
  498.  
  499.         Parity, NULL, RUBOUT, XON, and XOFF characters received from the
  500.         remote do not affect pattern searches.  If Kermit AutoDownload (K
  501.         option) is set, strings with SOH (Ctrl-A) cannot be matched.  If
  502.         ZMODEM AutoDownload (Z option) is set, strings with CAN (Ctrl-Z)
  503.         cannot be matched.  If B protocol (c option) is set, strings with
  504.         DLE or ENQ cannot be matched.
  505.  
  506.         Strings of up to 33 characters each may be specified for
  507.         simultaneous search by the term function.  The search patterns are
  508.         "global" among all script levels; a pattern command in a subroutine
  509.         affects the patterns set by the calling script(s) and vice versa.
  510.  
  511.         The term function returns when one of the patterns is matched or
  512.         when the term function times out with f seconds with no characters
  513.         from the remote, as determined by the f numeric parameter, or when
  514.         carrier detect is lost.  The first wait, t or f command given after
  515.         the pattern command begins the search.
  516.  
  517.         When one of the patterns is matched, that pattern is marked as found
  518.         and its corresponding action is executed (if present).  ZCOMM will
  519.         remain in the term function until there is a pause in data
  520.         transmission from the remote[15] unless the i or c modifier is used.
  521.  
  522.  
  523.  
  524.       __________
  525.  
  526.       15. Pause length is specified by the q numeric parameter.
  527.  
  528.  
  529.  
  530.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  531.  
  532.  
  533.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  534.       ZCOMM User Manual                                                  130
  535.  
  536.         The following modifiers may be used.  The c, i, and l modifiers are
  537.         mutually exclusive.
  538.  
  539.         c     The pattern is marked as found and action executed (if
  540.               present).  The term function then continues searching.
  541.               Matching this pattern does not cause a return from the term
  542.               function.  The condition for this pattern will test true, but
  543.               the n test condition is not affected.
  544.  
  545.         i (Immediate) The pattern is marked as found and action executed (if
  546.               present).  This modifier causes the term function to return
  547.               immediately.
  548.  
  549.         l (line end delay) The pattern is marked as found and action
  550.               executed (if present).  The term function then returns after
  551.               the first LF character following the matched string.
  552.  
  553.         p (permanent) A pattern with the p modifier is not reset by the
  554.               pattern command without arguments.  Patterns with the p
  555.               modifier may be used to search for disconnect messages within
  556.               an entire script.  Permanent patterns are reset by the call
  557.               command, each item in the outcall queue, and an explicit
  558.               pattern command referencing that particular pattern number.
  559.  
  560.               EXAMPLE: pattern 20 "\nCLR" "@off" Disconnects and exits ZCOMM
  561.               if the phrase CLR is seen immediately following an LF.
  562.  
  563.  
  564.         v (verbose) The v modifier displays a message when the pattern is
  565.               matched.  This is often useful when debugging scripts when the
  566.               large amount of output generated by large v numeric parameter
  567.               values is not desired.
  568.  
  569.               EXAMPLE: pat 5v "Finished Already."
  570.  
  571.  
  572.         $     Sometimes the only way to recognize a prompt (as distinct from
  573.               the same string embedded in other data) is to require the
  574.               prompt to be the last thing sent by the remote, before a
  575.               pause.  The $ modifier allows string to be matched only if the
  576.               remote pauses for 1 to 2 seconds after transmitting the last
  577.               character in string.
  578.  
  579.         The optional action is a string to be sent to the remote, or
  580.         executed as a command if it begins with "@".  Action is executed the
  581.         instant the last character of the pattern is matched, even if the i
  582.         modifier is not used.  Action must not use the goto, f, t, or wait
  583.         commands.
  584.  
  585.         The pattern command without any arguments clears the patterns that
  586.         don't have the p modifier, and terminates pattern searching.  The
  587.  
  588.  
  589.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  590.  
  591.  
  592.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  593.       ZCOMM User Manual                                                  131
  594.  
  595.         other events that terminate pattern search are a match to a pattern
  596.         that does not have the c modifier, a pattern search timeout, the
  597.         call, abort, or quit commands, a major error, or the NUKE key.
  598.  
  599.         EXAMPLE: pat 0c$ "" "\21"
  600.         Sends one XON character every time there is a pause in output from
  601.         the remote.  This recovers from situations where the remote computer
  602.         stops because it receiveed a spurious XOFF character, or lost an XON
  603.         character.
  604.  
  605.  
  606.         In the pattern n string command, if string contains a repeating
  607.         sequence such as foo in foofoobar, the search may be unsuccessful if
  608.         part of the phrase is received immediately prior to the desired
  609.         string (foofoofoobar).
  610.  
  611.       picture (DOS versions only) Append the contents of the display screen
  612.         to a DOS file.  The pathname is contained in the picture string
  613.         parameter.  The exact contents of the screen memory are written to
  614.         the file, with each screen character followed by its attribute.  A
  615.         separate program, unpic is used to convert the screen dump to a
  616.         normal file that may be printed or displayed.
  617.  
  618.         SEE ALSO: picture string parameter, unpic program
  619.  
  620.  
  621.       port n Change the modem port to COMn.  On DOS, the legal values for n
  622.         are 1...18.
  623.  
  624.         Selecting a new port normally selects software handshaking
  625.         ("handshake sw").  The PCDOS flavor enables both hardware and
  626.         software handshaking ("handshake both") iff the port speed exceeds
  627.         2400 bps and the Clear To Send (CTS) signal is active at the time
  628.         the port command is given.
  629.  
  630.         Standard Ports (PCDOS):
  631.         COM1 3F8 IRQ4 (Standard IBM)
  632.         COM2 2F8 IRQ3 (Standard IBM)
  633.  
  634.         NON STANDARD PORTS:
  635.         COM3 3E8 IRQ4 (Alternate)
  636.         COM4 2E8 IRQ3 (Alternate)
  637.         COM5 2B8 IRQ3 (Columbia)
  638.         COM6 2B8 IRQ2 (Alternate for IBM)
  639.  
  640.         COM7 2E8 IRQ5 (Alternate "COM3")
  641.         COM8 3E8 IRQ5 (Alternate "COM4")
  642.  
  643.         COM9 Uses the port address and interrupt vector previously set by
  644.         the portx command.
  645.  
  646.  
  647.  
  648.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  649.  
  650.  
  651.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  652.       ZCOMM User Manual                                                  132
  653.  
  654.         COM1 and COM2 are the standard serial ports defined by the IBM
  655.         Technical Reference Manual.
  656.  
  657.         COM3 and COM4 are supported by many serial cards and modem boards.
  658.         COM3 and COM1 share the same dedicated hardware interrupt line, and
  659.         these ports may not be used at the same time.  Likewise, COM4 and
  660.         COM2 may not be used at the same time.
  661.  
  662.         Columbia computers support COM5.
  663.  
  664.         COM6 to COM8 are alternate configurations that may be accessed by
  665.         cross jumpering between printer port decoders and serial port
  666.         enables on some multifunction boards.
  667.  
  668.         COM7 and COM8 support alternative definitions for "COM3" and "COM4"
  669.         respectively.
  670.  
  671.         Since ZCOMM uses the interrupt line on the selected port, no other
  672.         program or device driver may use the same port address and/or
  673.         interrupt vector concurrently.  Certain disk controllers and mice
  674.         interfaces use IRQ2 and IRQ5.  IRQ5 is sometimes used by network
  675.         cards and printer ports.  Ports sharing the same interrupt vector
  676.         (IRQ number) cannot be used concurrently.
  677.  
  678.         The port command sets the d term option (which suppress the No
  679.         Carrier Detect message).
  680.  
  681.         EXAMPLE: port 2
  682.  
  683.  
  684.         DOS ZCOMM begins with COM1 unless overridden by the DPORT
  685.         environment variable.
  686.  
  687.         EXAMPLE: C>set DPORT=2
  688.  
  689.  
  690.         On Unix, the argument of the port command is a character special
  691.         file in the /dev directory.  Unix and Xenix flavors have no default
  692.         port.  If the DPORT environment variable is set, that port will be
  693.         selected when ZCOMM initializes.  Otherwise, a port is selected by
  694.         the startup and/or dialing script.  Typical values are tty01
  695.         (386/ix) and tty2A (Xenix).
  696.  
  697.         EXAMPLE: DPORT=tty1A; export DPORT
  698.  
  699.  
  700.         SEE ALSO: handshake command, dport string parameter
  701.  
  702.       portx hbase,irq[,divisor] * To support specialized multiport serial
  703.         interfaces, the portx command selects a communications port with a
  704.         specified hexadecimal base address hbase and Interrupt Request Line
  705.  
  706.  
  707.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  708.  
  709.  
  710.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  711.       ZCOMM User Manual                                                  133
  712.  
  713.         irq (3 <= irq <= 15).[16] Nonstandard baudrate clock inputs are
  714.         supported with the optional divisor argument.  To support a
  715.         nonstandard bit rate source, multiply 5760 by the new raw bit rate
  716.         source frequency in MHz divided by 1.84320.
  717.  
  718.         The portx does not check its argument for validity.  The
  719.         consequences of an invalid selection are quite undefined.  The
  720.         specified base address and IRQ number are assigned to COM9, where
  721.         they may be used by the port command and the x numeric parameter.
  722.         The status line and s command will indicate COM9.  This command not
  723.         available on X.PC, Unix, Xenix, or OS/2.
  724.  
  725.         EXAMPLE: portx 3e8,15,57600 Selects a comm port with a base address
  726.         of 3e8 using IRQ15 and the 18.432 MHz clock option on the Boffin
  727.         Electronics "WinSport II" 2 port serial board.
  728.  
  729.  
  730.         SEE ALSO: intolink string parameter
  731.  
  732.       private The private command allows a caller to keyboard a message
  733.         which will be appended to a file specified by the private string
  734.         parameter.  Typically, private points to a private file inaccessible
  735.         to callers.  ZCOMM prepends a "From" line using the callers name as
  736.         stored in the remote string parameter.  The private command prompts
  737.         the caller to keyboard a "to:" name and up to 64 lines of text.  A
  738.         blank line terminates the message.  This command is intended for
  739.         short messages; long messages should be uploaded with a file
  740.         transfer protocol.  Keyboarding is controlled by the Z numeric
  741.         parameter, which sets the hot zone column after which a keyboarded
  742.         space character begins a new line.
  743.  
  744.         SEE ALSO: message command
  745.  
  746.       purgek Purge any characters the user may have typed ahead.*
  747.  
  748.       purgel Purge any unprocessed characters received from the modem Line
  749.         (remote).*
  750.  
  751.       put string The put command transmits string to the remote.  Use the
  752.         put command for transmitting commands to a modem or a remote
  753.         computer system.  String is processed for character escapes.
  754.         Control and other special characters may be entered with character
  755.         escapes described in Chapter 26.  If a carriage return should be
  756.         sent, it must be explicitly coded with \r at the end of the string.
  757.  
  758.  
  759.       __________
  760.  
  761.       16. IRQ2 can be used on some machines, on others it must be specified
  762.           as IRQ9.
  763.  
  764.  
  765.  
  766.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  767.  
  768.  
  769.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  770.       ZCOMM User Manual                                                  134
  771.  
  772.         EXAMPLE: put "myname\r" Sends myname followed by carriage return to
  773.         the modem.
  774.  
  775.  
  776.         A \336 (octal 336) character causes a pause in transmission
  777.         (duration controlled by the p numeric parameter).  This pause allows
  778.         one string to contain multiple commands.
  779.  
  780.         EXAMPLE: put "\336ATZ\r\336\336ATX1 M0 S0=1\r" Pauses, sends ATZ\r,
  781.         pauses (twice because some modems take longer to reset!), and then
  782.         sends ATX1 etc. to the modem.
  783.  
  784.  
  785.         Transmission with put is controlled by the 7, 8, h, p, w, and t term
  786.         options.
  787.  
  788.         SEE ALSO: putw, mput, putv commands
  789.  
  790.       putw string The putw command transmits string to the remote, and
  791.         pauses for a period of time (determined by the q numeric parameter)
  792.         before returning from the term function to allow characters to echo.
  793.         Other than that final pause, putw operates the same as the put
  794.         command.
  795.         N.B.: Putw should not be used when the next operation will be a
  796.         pattern or wait command.  If the expected response starts before the
  797.         putw command finishes, the following wait command will never get to
  798.         "see" what it is waiting for.  In general, the putw command should
  799.         only be used as a short-cut for sending a command when the response
  800.         is known in advance and can be safely ignored.
  801.  
  802.         SEE ALSO: put, mput commands
  803.  
  804.       putv svar The putv command transmits svar to the remote without any
  805.         translation of character escapes.  Putv does not append a carriage
  806.         return or line feed to the transmitted string.
  807.  
  808.         EXAMPLE: putv s0; put "\r"
  809.  
  810.  
  811.         SEE ALSO: put, mput commands
  812.  
  813.       pwd Print Working Directory displays the current directory pathname,
  814.         and stores it in the pwd string parameter.
  815.  
  816.         EXAMPLE: pwd
  817.  
  818.  
  819.         SEE ALSO: cd command
  820.  
  821.       pxN Set Numeric parameter x to value N.  If x and N are blank, display
  822.         the numeric parameters which can be set by this command and their
  823.  
  824.  
  825.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  826.  
  827.  
  828.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  829.       ZCOMM User Manual                                                  135
  830.  
  831.         current values.  This command is not allowed if Restricted.  Numeric
  832.         parameters are described in Chapter 24.
  833.  
  834.         EXAMPLE: ps8 Sets the status line attribute to 8 (grey), suitable
  835.         for composite video displays.
  836.  
  837.  
  838.         EXAMPLE: pv-1 Sets the v numeric parameter ("verbose") to -1,
  839.         suppressing some routine messages.  More negative values suppress
  840.         more routine messages.
  841.  
  842.  
  843.         EXAMPLE: pd1 Sets the d numeric parameter to 1, causing files
  844.         received with ZMODEM or full YMODEM protocol to be stored with the
  845.         modification date transmitted with the file.
  846.  
  847.  
  848.         EXAMPLE: pk3 Sets the k numeric parameter to 3, which kills pending
  849.         output stored in the circular buffer when ETX (Ctrl-C) (decimal 3)
  850.         is keyboarded in the term function.
  851.  
  852.  
  853.       queue { add [string] | clear | delete [n] | list | run } Manipulate
  854.         and execute a queue of commands for dialing numbers or other
  855.         suitable functions.  The queue contains 20 slots numbered 0 to 19.
  856.  
  857.         queue clear clears all queue entries.
  858.  
  859.         queue add [string] adds string to the queue after processing for
  860.              string substitutions.  The string is added to the first empty
  861.              queue slot available.  If string is absent, it is taken from
  862.              the next script line.  A typical string would be a command to
  863.              call a system: call telegodzilla
  864.  
  865.              Script entries used with the circular dialing queue should end
  866.              with a t command, which will enter the term function.  To stop
  867.              the queue at that point, use the ALT-N (NUKE) key.  NUKE
  868.  
  869.         queue delete [n] Delete then nth queue entry, or the currently
  870.              executing entry if n is not present.
  871.  
  872.         queue list lists the non empty queue entries.
  873.  
  874.         queue run begins execution of the queue entries.  The ALT-N (NUKE)
  875.              key, a fatal errror or any keyboarded character present after
  876.              the execution of the command in the entry terminates the queue
  877.              run command.
  878.         The queue commands are independent of the Outcall Queue available in
  879.         Host Operation.
  880.  
  881.         EXAMPLE: The script fragment:
  882.  
  883.  
  884.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  885.  
  886.  
  887.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  888.       ZCOMM User Manual                                                  136
  889.  
  890.              queue clear
  891.              while q set? s0 Q queue add "echo %s0"
  892.              queue list
  893.  
  894.         Sets each queue entry to echo its own queue number, then lists the
  895.         queue entries.
  896.  
  897.  
  898.         SEE ALSO: q and Q test conditions, Shift-F5 and Shift-F6 function
  899.         keys
  900.  
  901.       quit * Causes an immediate return to the command prompt from any
  902.         script level.  Quit may be used within a command string assigned to
  903.         a function key where an unconditional return to the command prompt
  904.         is desired, even if keyboarded from the term function.
  905.  
  906.       r [oldcmd] Search back through the history file of keyboarded lines
  907.         for the first line that oldcmd is a prefix of, and execute it.  If
  908.         oldcmd is absent, execute the last locall entered keyboarded line.
  909.  
  910.         EXAMPLE: history C:/tmp/junk.hst
  911.              del *.bak *.lst *.tmp *.foo
  912.              cd bazdir
  913.              r d
  914.              del *.bak *.lst *.tmp *.foo (command echoes)
  915.  
  916.  
  917.         SEE ALSO: history command
  918.  
  919.       r7 [-options] [dir] [file ...] Receives with options 1 or more files
  920.         using MODEM7 batch protocol.  An optional directory dir may be
  921.         specified.  If pathname(s) have been supplied to the r7 command and
  922.         the sending program attempts to send more files than the number of
  923.         names supplied to the r7 command, the transfer is aborted.  The
  924.         command is provided for compatibility with traditional programs that
  925.         do not support the superior YMODEM or ZMODEM protocols.
  926.  
  927.         EXAMPLE: r7 -c Receive file(s) with MODEM7 Batch and CRC-16 (-c).
  928.  
  929.  
  930.         SEE ALSO: MODEM7 batch protocol, Chapter 13.
  931.  
  932.       rb [-options] Receives with options 1 or more files using YMODEM
  933.         protocol.  The rb command also receives files sent with SEAlink
  934.         protocol.  Chapter 20 describes the available options.  YMODEM
  935.         transmits the pathname and length of each file.  If a file is
  936.         received in error (retries exhausted, etc.), the batch transfer will
  937.         terminate.  If Restricted, a file received in error will be unlinked
  938.         (erased).
  939.  
  940.         EXAMPLE: rb -y Receive file(s) with YMODEM replacing old files, if
  941.  
  942.  
  943.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  944.  
  945.  
  946.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  947.       ZCOMM User Manual                                                  137
  948.  
  949.         any.
  950.  
  951.  
  952.         EXAMPLE: rb -g Receive file(s) with YMODEM-g.
  953.  
  954.         Many programs claiming to support YMODEM actually use XMODEM with
  955.         1024 byte blocks; use ZCOMM's sx -k, rx and rx -g XMODEM commands
  956.         with these mutants.
  957.  
  958.         SEE ALSO: YMODEM protocol, Chapter 13.
  959.  
  960.       rb [-options] [dir] [file ...] Receives with options 1 or more files
  961.         using YMODEM protocol.  An optional disk and/or directory dir may be
  962.         specified.  The optional supplied pathnames file ...  are used in
  963.         place of pathnames normally provided by the sending program.  If the
  964.         sending program attempts to send more files than the number of names
  965.         supplied to the rb command, the transfer is aborted.
  966.  
  967.       rc [-options] file Receives with options a single file using the Ward
  968.         Christensen XMODEM protocol, 128 or 1024 byte blocks, and CRC-16
  969.         instead of an 8 bit checksum.  ZCOMM signals the sending program
  970.         that CRC-16 is to be used.  After four errors while attempting to
  971.         receive the first sector, ZCOMM will cancel the CRC-16 option and
  972.         reverts to checksum operation.
  973.  
  974.         The probability of an undetected transmission error is much less if
  975.         CRC-16 is used in place of the default 8 bit arithmetic checksum.
  976.         Omen Technology Inc Recommends use of the 16 bit CRC to maintain
  977.         data integrity at professional levels.  Chapter 20 describes the
  978.         available options to the rc command.  If Restricted, a file received
  979.         in error will be deleted.
  980.  
  981.         EXAMPLE: rc foo.com
  982.  
  983.  
  984.         SEE ALSO: XMODEM-CRC protocol, Chapter 13.
  985.  
  986.       read [file] Read file into the circular buffer.  Once in the buffer,
  987.         it may be examined with the review command, searched for strings,
  988.         and cut and pasted to other files.  If file does not fit into the
  989.         buffer, the buffer may be cleared with the kill command (or review k
  990.         subcommand) and subsequent read commands may be given to read more
  991.         of it.  Review function commands are described in Chapter 23.
  992.  
  993.         EXAMPLE: read allsig.tmp<ENTER><Home>
  994.  
  995.  
  996.         SEE ALSO: BROwse, seek commands
  997.         CAUTION: Iff a read command has left a transmit file open, entering
  998.         the term function will transmit the unread portion of the file.  To
  999.         prevent this, close the file first with ALT-C or closetx.
  1000.  
  1001.  
  1002.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1003.  
  1004.  
  1005.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  1006.       ZCOMM User Manual                                                  138
  1007.  
  1008.       receive [-options] Receives file(s) from a Kermit program.  Chapter 20
  1009.         describes the available options.  The other program must be
  1010.         commanded to send the desired files.
  1011.  
  1012.         SEE ALSO: get Kermit server access command
  1013.  
  1014.       remote Enter Host state with unrestricted privileges to allow the
  1015.         currently connected remote computer/terminal to issue commands.
  1016.         When activated by the remote command, Host state will reset when the
  1017.         modem carrier goes away.  This command is useful for transferring
  1018.         files between two machines with directly connected serial ports.
  1019.         Remote may be prefixed with restrict to limit privileges.*
  1020.  
  1021.         SEE ALSO: host command
  1022.  
  1023.       remote cwd dirspec [password] Instructs the remote Kermit server to
  1024.         change to the specified directory.  The form of dirspec varies with
  1025.         the remote system; it must be quoted if it contains special
  1026.         characters or spaces.  A password may be required by the remote
  1027.         Kermit server.
  1028.  
  1029.         SEE ALSO: Kermit Protocol, Chapter 13.
  1030.  
  1031.       remote delete filespec Instructs the remote Kermit server to delete
  1032.         the specified file(s).  The form of filespec varies with the remote
  1033.         system; it must be quoted if it contains special characters or
  1034.         spaces.
  1035.  
  1036.       remote dir dirspec Instructs the remote Kermit server to display the
  1037.         specified directory on your screen.  The form of dirspec varies with
  1038.         the remote system; it must be quoted if it contains special
  1039.         characters or spaces.  The resulting information may be redirected
  1040.         to a file with the >outfile command.
  1041.  
  1042.       remote help Instructs the remote Kermit server to display help
  1043.         information on your screen.  The resulting information may be
  1044.         redirected to a file with the >outfile command.
  1045.  
  1046.       remote host host-command-string Instructs the remote Kermit server to
  1047.         perform the specified command and display its output on your screen.
  1048.         The form of host-command-string varies with the remote system; it
  1049.         must be quoted if it contains special characters or spaces.  The
  1050.         resulting information may be redirected to a file with the >outfile
  1051.         command.
  1052.  
  1053.         EXAMPLE: remote host "kill -9 0" Terminates all your processes with
  1054.         extreme prejudice.
  1055.  
  1056.  
  1057.         SEE ALSO: !!command
  1058.  
  1059.  
  1060.  
  1061.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1062.  
  1063.  
  1064.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  1065.       ZCOMM User Manual                                                  139
  1066.  
  1067.       remote print filespec Instructs the remote Kermit server to print the
  1068.         specified file(s) on the remote system.  The form of filespec varies
  1069.         with the remote system; it must be quoted if it contains special
  1070.         characters or spaces.
  1071.  
  1072.       remote space [dirspec] Instructs the remote Kermit server to display
  1073.         the free space in the specified directory on your screen.  The form
  1074.         of dirspec varies with the remote system; it must be quoted if it
  1075.         contains special characters or spaces.  The resulting information
  1076.         may be redirected to a file with the >outfile command.
  1077.  
  1078.       remote type filespec Instructs the remote Kermit server to type the
  1079.         specified file(s) on your screen.  The form of filespec varies with
  1080.         the remote system; it must be quoted if it contains special
  1081.         characters or spaces.  The resulting information may be redirected
  1082.         to a file with the >outfile command.
  1083.  
  1084.       remote who Instructs the remote Kermit server to display the logged in
  1085.         users on your screen.  The resulting information may be redirected
  1086.         to a file with the >outfile command.
  1087.  
  1088.       reset Write the contents of the circular buffer if a receive file is
  1089.         open, close all files, and reset the disk system.  This allows
  1090.         swapping diskettes.
  1091.  
  1092.       reskeys Resets the Soft Keys to empty.
  1093.  
  1094.         SEE ALSO: set command
  1095.  
  1096.       restime * Resets elapsed time and counts of bytes transmitted and
  1097.         received to zero.  The restime command may be given in a script
  1098.         immediately after login is completed to synchronize the elapsed time
  1099.         counter with the beginning of chargeable connect time.
  1100.  
  1101.         SEE ALSO: timestamp command, E test condition
  1102.  
  1103.       restrict * Restricts ZCOMM for the following command on the same line.
  1104.         This command is useful for testing.
  1105.  
  1106.         EXAMPLE: restrict source /menu.t
  1107.  
  1108.  
  1109.       RETurn Returns from a script subroutine accessed by a call, source, or
  1110.         gosub command.
  1111.  
  1112.         SEE ALSO: fail command
  1113.  
  1114.       rewind Reset the buffer pointers for display, printer, and file output
  1115.         used by the term function to the beginning of the circular buffer.
  1116.         This will cause the term function to redisplay the data in the
  1117.         circular buffer.  Patterns will be rescanned.  A typical use of the
  1118.  
  1119.  
  1120.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1121.  
  1122.  
  1123.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  1124.       ZCOMM User Manual                                                  140
  1125.  
  1126.         rewind function is to allow replay of an editing session on a remote
  1127.         machine, or to redisplay the material received if the initial
  1128.         settings of the i, c, n or v term options were incorrect for the
  1129.         material received from the remote.
  1130.         N.B.: The rewind command does not reset the buffer free character
  1131.         count.  To write the data to disk, a write command (or ALT-W) must
  1132.         be given before accepting new data from the remote.
  1133.  
  1134.         SEE ALSO: t, b, w review subcommands
  1135.  
  1136.       REView Review the data received from the host or read by the read
  1137.         command.  A screenfull is displayed at a time.  Review function
  1138.         commands are listed in Chapter 23.
  1139.  
  1140.       ro [-options] file Receives with options a single file using non-
  1141.         standard XMODEM-CRC protocol logic.  OverThruster(TM) speeds file
  1142.         downloads at the expense of error recovery.  OverThruster operation
  1143.         is controlled by the O numeric parameter.  As fans of Buckaroo
  1144.         Bonzai know, the OverThruster is not universally applicable.  A
  1145.         transmission error will almost always terminate an OverThruster file
  1146.         download.
  1147.  
  1148.         If Restricted, a file received in error will be unlinked (erased).
  1149.  
  1150.         EXAMPLE: ro foo.com
  1151.  
  1152.  
  1153.         SEE ALSO: O numeric parameter
  1154.  
  1155.       rt [-options] [dir] [file ...] Receives with options 1 or more files
  1156.         using Telink (FIDO) batch protocol.  An optional disk and/or
  1157.         directory dir may be specified.  The optional supplied pathnames
  1158.         file ...  are used in place of pathnames normally provided by the
  1159.         sending program.  If pathname(s) have been supplied to the rt
  1160.         command and the sending program attempts to send more files than the
  1161.         number of names supplied to the rt command, the transfer is aborted.
  1162.         The rt command is provided for compatibility with traditional
  1163.         programs that do not support the superior YMODEM or ZMODEM
  1164.         protocols.
  1165.  
  1166.         EXAMPLE: rt -c
  1167.  
  1168.  
  1169.         SEE ALSO: Telink protocol, Chapter 13.
  1170.  
  1171.       rw [-options] file Receives with options a single file using the
  1172.         People-Link WXMODEM protocol.  Chapter 20 describes the available
  1173.         options.  If Restricted, a file received in error will be unlinked
  1174.         (erased).
  1175.  
  1176.         EXAMPLE: rw foo.com
  1177.  
  1178.  
  1179.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1180.  
  1181.  
  1182.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  1183.       ZCOMM User Manual                                                  141
  1184.  
  1185.  
  1186.  
  1187.       rx [-options] file Receives with options a single file using the Ward
  1188.         Christensen XMODEM protocol.  CRC-16 is not the default because most
  1189.         commercial comms programs only support the 8 bit checksum.  Chapter
  1190.         20 describes the available options.  If Restricted, a file received
  1191.         in error will be unlinked (erased).
  1192.  
  1193.         EXAMPLE: rx foo.com
  1194.  
  1195.         N.B.: The rc command should be used whenever possible instead of rx.
  1196.  
  1197.         EXAMPLE: rx -g foo.txt Receive a single file with an ACKless XMODEM
  1198.         protocol mutant incorrectly called "ymodem-g" by PCBoard and Qmodem
  1199.         programs.
  1200.  
  1201.         SEE ALSO: XMODEM protocol, Chapter 13.
  1202.  
  1203.       rz [-options] Receives with options 1 or more files using ZMODEM
  1204.         protocol.  Chapter 20 describes the available options.  Each file's
  1205.         pathname is obtained from the sending program.  The +, a, b, n, N,
  1206.         r, and y options are accepted from the sending program, subject to
  1207.         Restriced privileges.  If the +, b, n, N, r, or y option is
  1208.         specified to the receiver, it overrides any contrary options
  1209.         specified to the sender.  Only one of the a, b, or r options may be
  1210.         specified.  Only one of the +, n, N, or y options may be specified.
  1211.         If a file is received in error (retries exhausted, etc.), the batch
  1212.         transfer will terminate.  If Restricted, a file received in error
  1213.         will be unlinked (erased).
  1214.  
  1215.         EXAMPLE: rz -y
  1216.  
  1217.  
  1218.         SEE ALSO: Z term option
  1219.  
  1220.         SEE ALSO: ZMODEM protocol, Chapter 13.
  1221.  
  1222.       rz [-options] [dir] [file ...] Receives with options 1 or more files
  1223.         using ZMODEM protocol.  An optional disk and/or directory dir may be
  1224.         specified.  The optional supplied pathnames file ...  are used in
  1225.         place of pathnames normally provided by the sending program.  If the
  1226.         sending program attempts to send more files than the number of names
  1227.         supplied to the rz command, the transfer is aborted.  To allow use
  1228.         of the rz command, Z term option (ZMODEM AutoDownload) should be
  1229.         turned off with a dis -Z command.
  1230.  
  1231.       s Displays status information.
  1232.  
  1233.         LSR and MSR refer to the Line Status Register and Modem Status
  1234.         Register of the modem port's 8250 UART device.
  1235.  
  1236.  
  1237.  
  1238.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1239.  
  1240.  
  1241.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  1242.       ZCOMM User Manual                                                  142
  1243.  
  1244.         TYP refers to the type of serial chip detected.  A National 16550A
  1245.         shows as 1, an Intel 82510 shows as 2.  Other chips (without high
  1246.         speed enhancements) show as 0.
  1247.  
  1248.         "Uncorrected errors" displays the e numeric parameter, which counts
  1249.         the number of failed file transfers and "line hits" detected by the
  1250.         term function.
  1251.  
  1252.         If one or more scripts are active, the current line number (counting
  1253.         from the first line in the script file) for each script level is
  1254.         displayed.
  1255.  
  1256.         Any patterns active as a result of a pattern or wait command are
  1257.         displayed.  An S indicates not matched (still searching), F
  1258.         indicates that pattern has been matched.
  1259.  
  1260.  
  1261.         SEE ALSO: ALT-S function key
  1262.  
  1263.       s7 [-options] pathspec Send the files specified in pathspec using the
  1264.         MODEM7 batch Protocol.  Files which cannot be opened are skipped.
  1265.         An empty pathspec sends all files in the current directory.  A
  1266.         directory name expands to all regular files in that directory.
  1267.  
  1268.         If an error aborts a file transmission (retries exhausted, etc.),
  1269.         batch transfers terminate.
  1270.  
  1271.         EXAMPLE: s7 *.com Sends all *.com files
  1272.  
  1273.         N.B.: The receiver must be commanded to receive the files.  This
  1274.         command is provided for compatibility with traditional programs that
  1275.         do not support the superior YMODEM and ZMODEM protocols.
  1276.  
  1277.         SEE ALSO: MODEM7 batch protocol, Chapter 13.
  1278.  
  1279.       sb [-options] [PREFIX=p | ONAME=x] pathspec Send the files specified
  1280.         in pathspec using True YMODEMTm Protocol.  The pathname, length, and
  1281.         modification time of each file are transmitted.  Files which cannot
  1282.         be opened are skipped.  An empty pathspec sends all files in the
  1283.         current directory.  A directory name expands to all regular files in
  1284.         that directory.
  1285.  
  1286.         If an error aborts a file transmission (retries exhausted, etc.),
  1287.         batch transfers terminate.  The sb command will send files with
  1288.         SEAlink protocol if the receiving program requests SEAlink.
  1289.  
  1290.         EXAMPLE: sb -k *.com Sends *.com using 1024 byte packets.
  1291.  
  1292.         N.B.: The receiver must be commanded to receive the files with an rb
  1293.         command.  Unix and OS/2 users: sb command cannot be used to send
  1294.         source files that grow after the beginning of transmission.
  1295.  
  1296.  
  1297.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1298.  
  1299.  
  1300.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  1301.       ZCOMM User Manual                                                  143
  1302.  
  1303.         SEE ALSO: YMODEM protocol, Chapter 13, SEAlink protocol, Chapter 13.
  1304.  
  1305.       seek offset Iff a transmit file is open as a result of a f, open, or
  1306.         read command, position the file read pointer to offset bytes from
  1307.         the beginning of the file if offset is positive (or 0), or from the
  1308.         end of the file if offest is negative.  "Seek 0" rewinds the file to
  1309.         its beginning.
  1310.  
  1311.         EXAMPLE: open baz; seek -20000; read<ENTER>Home Reviews the last
  1312.         20000 bytes of baz.
  1313.  
  1314.  
  1315.         SEE ALSO: open, read, close
  1316.  
  1317.       send [-options] pathspec Send the files specified in pathspec with the
  1318.         Kermit protocol.  The send command sends files to either a Kermit
  1319.         server or a regular Kermit program.
  1320.  
  1321.         EXAMPLE: send -a *.asm
  1322.  
  1323.  
  1324.       set[s|c] [[_]sparam string] Set String parameter sparam to string.  As
  1325.         with all ZCOMM strings, the string must be enclosed by double quote
  1326.         characters if it contains spaces, tabs, or semicolons.  Character
  1327.         escapes must be used to represent special characters, including
  1328.         return and linefeed if needed.
  1329.  
  1330.         An optional leading underscore (_) prepended to sparam causes the
  1331.         string to be cleared by the next call command.
  1332.  
  1333.         EXAMPLE: set mprefix ATDT sets the modem dialing prefix for tone (T)
  1334.  
  1335.         EXAMPLE: set f8 \PXXXXX Assigns a five character automatically
  1336.         generated password (\PXXXXX character escape described in Chapter )
  1337.         to function key F8.  Once programmed this way, the F8 key will
  1338.         transmit five nonsense characters determined by the xpassword string
  1339.         parameter and the remote system's name as stored in the remote
  1340.         string parameter by the last call command.
  1341.  
  1342.  
  1343.         EXAMPLE: set _f1 "logout\r" Assigns the string "logout<ENTER>" to F1
  1344.         until the next call command.
  1345.  
  1346.  
  1347.         The parameters that may be set with this command are described in
  1348.         Chapter 25.  Case is significant in parameter names.
  1349.  
  1350.         Set without any arguments will display all non empty string
  1351.         parameters and their values.  If the v (verbose) numeric parameter
  1352.         is non zero, all string parameters are displayed.  The echo and lput
  1353.         commands may be used to display string parameters ("echo %svar").
  1354.  
  1355.  
  1356.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1357.  
  1358.  
  1359.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  1360.       ZCOMM User Manual                                                  144
  1361.  
  1362.         The setc command performs string substitutions and character escape
  1363.         expansions on string before storing.  The sets command only performs
  1364.         string substitutions on string before storing.
  1365.         N.B.: Chapter 26 discusses string concatenation.
  1366.  
  1367.         EXAMPLE: sets s2 "%z1" Assigns the second token (%z1) generated by
  1368.         the split command to string parameter s2.
  1369.  
  1370.  
  1371.         If other commands are to follow on the same line, a semicolon must
  1372.         be used to separate the commands.
  1373.  
  1374.         EXAMPLE: set s1 "su"; goto sendit Would be illegal if the ";" were
  1375.         left out.
  1376.  
  1377.  
  1378.         A string parameter may be set to empty with set sparam "" (empty
  1379.         string enclosed by double quote characters).
  1380.  
  1381.         EXAMPLE: pv1; set Displays all string parameters, including all Soft
  1382.         Keys.
  1383.  
  1384.  
  1385.         EXAMPLE: sets s8 "s9 EQUALS %s9" Substitutes the value of string
  1386.         parameter s9 in the argument before assigning it to s8.
  1387.  
  1388.  
  1389.         SEE ALSO: echo, if, keys, reskeys, ALT-K, commands
  1390.         N.B.: When defining function keys to be called from within the term
  1391.         function, do not use the t or f commands.  Instead use the create or
  1392.         open commands to prevent excessive term function recursion.
  1393.  
  1394.         Assigning a string to a function key with the set command causes
  1395.         that string to be sent to the remote when the key is used within the
  1396.         term function.  If the string begins with @, the remainder of the
  1397.         string is executed as a ZCOMM command.
  1398.  
  1399.         EXAMPLE: set f3 "@rb" Assigns the rb command to F3.
  1400.  
  1401.  
  1402.       set[s|c] [_]sparam This form of the set command allows strings
  1403.         containing double quote (") characters to be defined.
  1404.  
  1405.         Given with string parameter sparam, but no string, set reads string
  1406.         from the next line verbatim, with only the trailing CR/LF removed.
  1407.         The line should not begin with a space or tab unless one is required
  1408.         for string.  This form may be used for entering strings containing
  1409.         double quotes.  If a script is active, the next line is read from
  1410.         the current script file, otherwise the user is prompted for it.
  1411.         N.B.: This form of the set command cannot be used as the predicate
  1412.         of an if command.  The argument should not appear as a label or
  1413.  
  1414.  
  1415.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1416.  
  1417.  
  1418.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  1419.       ZCOMM User Manual                                                  145
  1420.  
  1421.         telephone directory entry.
  1422.  
  1423.         EXAMPLE: set outahost
  1424.         @o; pk3; sp 2400; set disks "abcd"; putw "\336ATM0H1\r" Programs
  1425.         outahost to drop DTR ("o"), set 2400 baud, allow disks a,b,c, and d,
  1426.         and send an ATM0H1 (go off hook) command to the modem to busy out
  1427.         the telephone line.
  1428.  
  1429.  
  1430.       setn sparam expression The setn command stores as a decimal number the
  1431.         result of an arithmetic expression consisting of decimal numbers,
  1432.         string variables, the length of string variables denoted with %, and
  1433.         the operators +, -, *, and /.  The expression is evaluated strictly
  1434.         left to right with 32 bit precision.
  1435.  
  1436.         EXAMPLE: setn vv 1+vv
  1437.  
  1438.  
  1439.       set? sparam condition The set?  command stores a decimal number
  1440.         representing the result of a test condition.
  1441.  
  1442.         EXAMPLE: set? s0 S Stores the value of the S test condition
  1443.         (transmission speed) in string variable s0.
  1444.  
  1445.  
  1446.       sleep deci-seconds Sleep causes ZCOMM to pause for the specified
  1447.         tenths of seconds.  This command may be used in a script with one or
  1448.         more put commands to login to a timesharing service.  The presence
  1449.         of a character in the keyboard buffer will cause the sleep command
  1450.         to finish before the specified time.
  1451.  
  1452.         The maximum sleep time is 32000 tenths of seconds.  Applications
  1453.         involving long sleep times may be better handled with the Host
  1454.         Operation callout queue.
  1455.  
  1456.         EXAMPLE: sleep 30 Pauses for 3 seconds.
  1457.  
  1458.  
  1459.         SEE ALSO: callout queue, \336 (string parameters)
  1460.  
  1461.       Soft Keys The Soft Keys f1-f12, fs1-fs10, fc1-fc10, fa1-fa10, ALT-a to
  1462.         ALT-z, fins, fdel, fhome, fend, fup, fdown, fleft, fright, fpgup,
  1463.         fpgdn, etc.  may be programmed by set commands given in script
  1464.  
  1465.  
  1466.       ______________________________________________________________________
  1467.  
  1468.       16. Because a failed if command would skip to the next line, the
  1469.           argument of the set command, and attempt to execute it as a script
  1470.           line.
  1471.  
  1472.  
  1473.  
  1474.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1475.  
  1476.  
  1477.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  1478.       ZCOMM User Manual                                                  146
  1479.  
  1480.         files, including the "setup" entry in the distribution PHODIR.t
  1481.         file.  The strings or commands assigned to these keys may be
  1482.         displayed with the keys or ALT-K command.  To get a current list of
  1483.         the available soft keys (and other string parameters), keyboard the
  1484.         following three commands:
  1485.  
  1486.              pv1
  1487.              >keylist
  1488.              set
  1489.              close; pv0
  1490.  
  1491.       source sourcefile Accept script commands from sourcefile.  The source
  1492.         and call commands may be nested with up to six[17] scripts open at
  1493.         once.
  1494.  
  1495.         If the script has a READ ONLY attribute, ZCOMM is unrestricted
  1496.         during execution of the script.*
  1497.  
  1498.         Command lines in files accessed by the source command must begin
  1499.         with a tab, space, or label.  Goto commands within sourcefile search
  1500.         for labels in the same sourcefile.  Gosub commands within sourcefile
  1501.         access subroutines in the telephone directory accessed by the phones
  1502.         string parameter.
  1503.  
  1504.         EXAMPLE: bud  source /usr/bin/caf/bin/callbud
  1505.         This telephone directory entry pat calls a separate script file
  1506.         containing commands to call a secret system.  Placing this
  1507.         information in a separate file keeps it out of the main telephone
  1508.         directory file, which might be used on a number of computers.
  1509.  
  1510.  
  1511.         SEE ALSO: gosub command
  1512.  
  1513.       SPeed m Set the transmission speed ("baud rate") to m.[18] If the
  1514.         speed specified is odd, or equal to 110, two stop bits are
  1515.         transmitted; otherwise one stop bit is transmitted.
  1516.  
  1517.         EXAMPLE: speed 1200
  1518.  
  1519.         N.B.: Some older U.S. Robotics modems cannot accept the sustained
  1520.         full speed output ZCOMM is capable of.  Using speed 2350 corrects
  1521.  
  1522.  
  1523.       __________
  1524.  
  1525.       17. Deep nesting may require a decrease in circular buffer memory
  1526.           allocation.
  1527.  
  1528.       18. This is the DTE (Data Terminal Equipment) speed, the speed at
  1529.           which the computer talks to the modem.
  1530.  
  1531.  
  1532.  
  1533.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1534.  
  1535.  
  1536.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  1537.       ZCOMM User Manual                                                  147
  1538.  
  1539.         such a problem with the U.S. Robotics Courier 2400.
  1540.  
  1541.         Some 1200 and 2400 bps modems work better (lower error rate) if the
  1542.         speed is set to slightly less than the nominal 1200 or 2400.  This
  1543.         also applies to communications networks that cannot accept sustained
  1544.         full speed data, and to serial ports whose raw bit rate clocks are
  1545.         slightly fast.
  1546.  
  1547.         EXAMPLE: speed 1181 Sets the speed to 1181 bits per second with two
  1548.         stop bits.
  1549.  
  1550.  
  1551.         N.B.: Most timesharing minicomputers can send data from their serial
  1552.         ports faster than they can receive.  A timesharing port that
  1553.         supports interactive operation at 19200 bps may not tolerate file
  1554.         uploads above 2400 bps.
  1555.  
  1556.         N.B.: Operation at high speeds is affected by the operating system
  1557.         version, device drivers, memory resident software, and the
  1558.         computer's hardware design.  Chapter 34 describes common problems
  1559.         encountered in high speed operation.  The new generation
  1560.         NS16550AN/NS16550FAN serial interface chips with FIFO buffers should
  1561.         be used instead of 8250's or 16450's for best results at high speed.
  1562.         This is imperative if disk caches, special device drivers or TSR
  1563.         programs increase interrupt latency.
  1564.  
  1565.         SEE ALSO: 7e, 7o, 7m, 7s, 8n, 8g term options, handshake command, D
  1566.         numeric parameter
  1567.  
  1568.       split svar Split (parse) string parameter svar into tokens stored in
  1569.         string parameters z0...z9 using one or more of the characters in
  1570.         string parameter ifs ("Internal Field Separator") to separate the
  1571.         tokens. **
  1572.  
  1573.         EXAMPLE: If string parameter s1 contains "hello there folks" and ifs
  1574.         contains a space and tab, split s1 Assigns "hello" to z0, "there" to
  1575.         z1, and "folks" to z2.
  1576.  
  1577.  
  1578.         EXAMPLE: Let s0 contain "#1234567-This is big-time Parsing", and ifs
  1579.         contain "#1256- ".  The command split s0 Assigns "34" to z0, "7" to
  1580.         z1, "This" to z2, "is" to z3, "big" to z4, "time" to z5, and
  1581.         "Parsing" to z6.
  1582.  
  1583.  
  1584.         SEE ALSO: y0...y127 string parameters, I,i,p test conditions, sets
  1585.         command
  1586.  
  1587.       split svar string ... uses one string for each token generated.  An
  1588.         empty string ("") assigns the rest of svar to the next token.
  1589.         Otherwise, if tokens remain after the strings are exhausted, ifs is
  1590.  
  1591.  
  1592.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1593.  
  1594.  
  1595.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  1596.       ZCOMM User Manual                                                  148
  1597.  
  1598.         used for parsing the remaining tokens.
  1599.  
  1600.         EXAMPLE: If s0 contains "#1234567-This is ZCOMM Parsing", The
  1601.         command split s0 "-" "" Assigns "#1234567" to z0 and "This is ZCOMM
  1602.         Parsing" to z1.
  1603.  
  1604.  
  1605.         EXAMPLE: If s0 contains "503-621-3746", The command split s0 "-" "-"
  1606.         Assigns "503" to z0, "621" to z1, and "3746" to z2.
  1607.  
  1608.  
  1609.         SEE ALSO: ss command, scripts, Chapter 99
  1610.  
  1611.       ss svar regular-expression String Split svar according to regular-
  1612.         expression.  ** Regular expressions are described in Chapter 26.
  1613.         The entire matched string (if any) is stored in the z0 string
  1614.         parameter.
  1615.  
  1616.         Matched groups are stored in the z1...z9 string parameters.
  1617.         Parameters which do not receive a matched string or substring are
  1618.         set empty.
  1619.  
  1620.         EXAMPLE: If string parameter s0 contains
  1621.                 From: Captain Midnight To: HBO Inc.
  1622.         then the command      ss s0 "From: (.*) To: (.*)"
  1623.         places "Captain Midnight" in z1 and "HBO Inc." in z2.  In this case,
  1624.         z0 will contain the entire contents of s0.
  1625.  
  1626.  
  1627.         SEE ALSO: split command, regular-expressions Chapter 26
  1628.  
  1629.       st [-options] pathspec Send the files specified in pathspec using the
  1630.         Telink (FIDO) batch Protocol.  The pathname, length, and
  1631.         modification time of each file are transmitted.  Files which cannot
  1632.         be opened are skipped.  An empty pathspec sends all files in the
  1633.         current directory.  A directory name expands to all regular files in
  1634.         that directory.
  1635.  
  1636.         If an error aborts a file transmission (retries exhausted, etc.),
  1637.         batch transfers terminate.
  1638.  
  1639.         EXAMPLE: st *.com Sends *.com
  1640.  
  1641.         N.B.: The receiver must be commanded to receive the files.
  1642.  
  1643.         SEE ALSO: Telink protocol, Chapter 13.
  1644.  
  1645.       sum pathspec Checksums the named text files with an alogrithym
  1646.         compatible with sum(1) on Version 7 Unix (sum -r on System III/V,
  1647.         cksum -o 1 on BSD).  Carriage returns, and all characters starting
  1648.         with the first instance of CPMEOF (^Z) are excluded.  This
  1649.  
  1650.  
  1651.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1652.  
  1653.  
  1654.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  1655.       ZCOMM User Manual                                                  149
  1656.  
  1657.         processing allows comparison of plain ASCII source files stored on
  1658.         the different systems, but not binary files.  The checksum is
  1659.         printed in octal, followed by a count of 512 byte blocks and bytes
  1660.         read.
  1661.  
  1662.         EXAMPLE: sum *.c Checksums all C source files in the current
  1663.         directory.
  1664.  
  1665.  
  1666.         SEE ALSO: crc, wc commands
  1667.  
  1668.       sx [-options] file Send a single file using the Ward Christensen
  1669.         XMODEM or XMODEM-CRC protocol.  The receiving program may request
  1670.         use of a 16 bit CRC, which is more accurate than the default
  1671.         checksum.  DOS/Unix files sent this way will have Control-Z (CPMEOF)
  1672.         garbage characters appended to make the file length a multiple of
  1673.         128.
  1674.  
  1675.         EXAMPLE: sx foo.com
  1676.  
  1677.  
  1678.         EXAMPLE: sx -k foo.com Sends foo.com using 1024 byte blocks
  1679.  
  1680.         N.B.: The receiver must be commanded to receive the file with an rx
  1681.         filename or rc filename command.
  1682.  
  1683.         SEE ALSO: XMODEM, XMODEM-1k, XMODEM-CRC protocols, Chapter 13.
  1684.  
  1685.       sz [-options] [PREFIX=p | ONAME=x] pathspec Send the files specified
  1686.         in pathspec using ZMODEM Protocol.[19]
  1687.         N.B.: If the remote supports ZMODEM AutoDownload, or accepts rz
  1688.         followed by carriage return as a command to receive files with
  1689.         ZMODEM protocol, only the sz command need be given.  Otherwise, the
  1690.         receiver must be commanded to receive the files with an rz command
  1691.         or menu choice.
  1692.  
  1693.         The +, a, b, n, N, r, y, and Z options are sent to the receiving
  1694.         program.  Only one of the a, b, or r options may be specified.  Only
  1695.         one of the +, n, N, or y options may be specified.
  1696.  
  1697.         Each skipped file is counted as an error as indicated by the e test
  1698.         condition and e numeric parameter.  If the q option is used, files
  1699.         skipped as a result of selective file transfers are not counted as
  1700.         errors.
  1701.  
  1702.  
  1703.       __________
  1704.  
  1705.       19. The receiver may use the sz command to send files by uploading an
  1706.           sz command with the zcommand command.
  1707.  
  1708.  
  1709.  
  1710.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1711.  
  1712.  
  1713.       Version 18.05 TurboDial 2.36            Universal Line Printer Edition
  1714.       ZCOMM User Manual                                                  150
  1715.  
  1716.         The pathname, length, and modification time of each file are
  1717.         transmitted.  Files which cannot be opened are skipped.  An empty
  1718.         pathspec sends all files in the current directory.  A directory name
  1719.         expands to all regular files in that directory.
  1720.  
  1721.         If ONAME=x is given after the options (if any) and before the file
  1722.         name(s), x will be used exactly as given as the COMPLETE destination
  1723.         pathname instead of each file's actual pathname.  It is the sender's
  1724.         responsibility to use lower case for x unless the filename is really
  1725.         supposed to be all caps.
  1726.  
  1727.         EXAMPLE: sz -y ONAME=B:/spiked/secret /soviet/sdi/newlaser.doc
  1728.         Results in the destination file secret on drive B: in the /spiked
  1729.         directory.  (Destination directories must exist and be writable).
  1730.  
  1731.  
  1732.         If instead PREFIX=p is given after the options (if any) and before
  1733.         the file name(s), p will be added to the destination pathname(s) as
  1734.         a prefix.  It is the sender's responsibility to use lower case for p
  1735.         unless the prefix is really supposed to be all caps.
  1736.  
  1737.         EXAMPLE: sz -y PREFIX=C:/foobaz/ /biff/bam/aardvark.wak
  1738.         Results in the destination file "C:/foobaz/aardvark.wak"
  1739.  
  1740.  
  1741.         EXAMPLE: sz *.com   Sends all files with a .com extension.
  1742.  
  1743.  
  1744.         EXAMPLE: sz -r ??log Crash Recovery sends only the new data if the
  1745.         receiver has incomplete versions of these files.
  1746.  
  1747.  
  1748.         EXAMPLE: sz -fn src/*.c src/*.h maildir
  1749.         Sends only newer .c and .h files in the src subdirectory, and all
  1750.         new files in the maildir subdirectory.
  1751.  
  1752.  
  1753.         EXAMPLE: zcommand "sz -fn /bin /wp"
  1754.         commands a remote ZCOMM system in Host Operation (unrestricted) to
  1755.         send all new files in the /bin and /wp directories.
  1756.  
  1757.  
  1758.         EXAMPLE: sz -Yn *.c Sends only newer versions of files that already
  1759.         exist at the destination.
  1760.  
  1761.  
  1762.         EXAMPLE: sz -Rf usera Sends all files in the usera directory and all
  1763.         subdirectories thereof.  Directories are not sorted when the R
  1764.         option is used on 16 bit systems.
  1765.  
  1766.         SEE ALSO: ZMODEM protocol, Chapter 13, Options, Chapter 20.
  1767.  
  1768.  
  1769.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1770.  
  1771.